<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
	<!--[if lt IE 9]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    <title>OrderLine_V2 - Pws.Clients.RestLibrary Documentation</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <link type="text/css" rel="stylesheet" href="../main.css"/>
    <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../js/jquery.scrollTo-min.js"></script>
    <script type="text/javascript" src="../js/navigation.js"></script>
    <script type="text/javascript" src="../js/example.js"></script>
  </head>
  <body>
  	<header><h1>Pws.Clients.RestLibrary : API Documentation</h1>
	</header>
<nav id="namespaces">
	<h2 class="fixed">Namespaces</h2>
	<div class="scroll">
		<ul>
			<li>
          <a href="../Pws.Clients.RestLibrary/index.htm">Pws.Clients.RestLibrary</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Aftersales/index.htm">Pws.Clients.RestLibrary.Aftersales</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers/index.htm">Pws.Clients.RestLibrary.Customers</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers.Contacts/index.htm">Pws.Clients.RestLibrary.Customers.Contacts</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers.Orders/index.htm" class="current">Pws.Clients.RestLibrary.Customers.Orders</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Customers.Products/index.htm">Pws.Clients.RestLibrary.Customers.Products</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.ECommerce.Permissions/index.htm">Pws.Clients.RestLibrary.ECommerce.Permissions</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.ECommerce.Users/index.htm">Pws.Clients.RestLibrary.ECommerce.Users</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Framework/index.htm">Pws.Clients.RestLibrary.Framework</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Products/index.htm">Pws.Clients.RestLibrary.Products</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Products.Navigation/index.htm">Pws.Clients.RestLibrary.Products.Navigation</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Shared/index.htm">Pws.Clients.RestLibrary.Shared</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.Suppliers/index.htm">Pws.Clients.RestLibrary.Suppliers</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.WorksurfaceEstimator/index.htm">Pws.Clients.RestLibrary.WorksurfaceEstimator</a>
      </li>
			<li>
          <a href="../Pws.Clients.RestLibrary.WorksurfaceJobs/index.htm">Pws.Clients.RestLibrary.WorksurfaceJobs</a>
      </li>
		</ul>
	</div>
</nav><nav id="types">
  <h2 class="fixed">Types in Pws.Clients.RestLibrary.Customers.Orders</h2>
	<div class="scroll">
		<ul>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/Alert_V1.htm">Alert_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/BespokeOption.htm">BespokeOption</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/BespokeQuantityDefault.htm">BespokeQuantityDefault</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/BespokeSelection.htm">BespokeSelection</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/CurrencyAmount.htm">CurrencyAmount</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/CurrencyAmountWithVat.htm">CurrencyAmountWithVat</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/DispatchMethod_V1.htm">DispatchMethod_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/Event.htm">Event</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/Fulfilment.htm">Fulfilment</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/Order_V1.htm">Order_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V1.htm">OrderLine_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm" class="current">OrderLine_V2</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/ProductPrice.htm">ProductPrice</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/Progression_V1.htm">Progression_V1</a>
        </li>
				<li>
            <a href="../Pws.Clients.RestLibrary.Customers.Orders/Release_V1.htm">Release_V1</a>
        </li>
		</ul>
	</div>
</nav>
	<article>
    <header>
		<p class="class"><strong>Type</strong> OrderLine_V2</p>
	</header>
	<section>
		<header>
		<p><strong>Namespace</strong> Pws.Clients.RestLibrary.Customers.Orders</p>
		<p><strong>Parent</strong> <a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V1.htm">OrderLine_V1</a></p>
		</header>
    <div class="sub-header">
			<div id="summary">A line of a customer's order. In addition to the properties defined in orderline-v1, this
has a facility for coping with bespoke product options. Client applications that wish to implement
bespoke products should use this entirely in preference to orderline-v1, regardless of whether the product in
question is bespoke or not. <blockquote class="remarks">
  application/x.pws.customers.orders.orderline-v2 
</blockquote>
			</div>
		
		
		
			<h3 class="section">Properties</h3>
			<ul>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#BespokeOptionToken">BespokeOptionToken</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#BespokeQuantityDefaults">BespokeQuantityDefaults</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#Description">Description</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#HasShortage">HasShortage</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#IgnoreBespokeOptionDefaults">IgnoreBespokeOptionDefaults</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#LineDiscount">LineDiscount</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#LineNumber">LineNumber</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#LineTotal">LineTotal</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#Links">Links</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#NextBespokeOption">NextBespokeOption</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#OrderQuantity">OrderQuantity</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#PreviousBespokeOptions">PreviousBespokeOptions</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#Price">Price</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#Product">Product</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#ProductId">ProductId</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#ReservedQuantity">ReservedQuantity</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#ShortageAvailable">ShortageAvailable</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#ShortageQuantity">ShortageQuantity</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#VatCode">VatCode</a></li>
				<li><a href="../Pws.Clients.RestLibrary.Customers.Orders/OrderLine_V2.htm#VatRate">VatRate</a></li>
			</ul>
		
	</div>
	
	
	
	<h3 class="section">Public properties</h3>

	<div id="BespokeOptionToken" class="method">
		<h4>
			<span title="System.string">string</span> <strong>BespokeOptionToken</strong> get; set;
		</h4>
		<div class="content">This must be echoed back exactly as provided. <blockquote class="remarks">
  Required. 
</blockquote>

		</div>
	</div>
	<div id="BespokeQuantityDefaults" class="method">
		<h4>
			<span title="System.Collections.Generic.List<BespokeQuantityDefault>">List&lt;BespokeQuantityDefault&gt;</span> <strong>BespokeQuantityDefaults</strong> get; set;
		</h4>
		<div class="content">This is a special case, and is not required for normal bespoke products.
Specify the bespoke option quantities, when using a Virtual Product code that has a size requirement (e.g. a bespoke sized 1909 door). 

		</div>
	</div>
	<div id="Description" class="method">
		<h4>
			<span title="System.string">string</span> <strong>Description</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="HasShortage" class="method">
		<h4>
			<span title="System.bool">bool</span> <strong>HasShortage</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="IgnoreBespokeOptionDefaults" class="method">
		<h4>
			<span title="System.bool">bool</span> <strong>IgnoreBespokeOptionDefaults</strong> get; set;
		</h4>
		<div class="content">Set to true to suppress the web service from automatically applying default values based on the user's previous bespoke options. 

		</div>
	</div>
	<div id="LineDiscount" class="method">
		<h4>
			<a href="../Pws.Clients.RestLibrary.Customers.Orders/CurrencyAmount.htm">CurrencyAmount</a> <strong>LineDiscount</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="LineNumber" class="method">
		<h4>
			<span title="System.uint">uint</span> <strong>LineNumber</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="LineTotal" class="method">
		<h4>
			<a href="../Pws.Clients.RestLibrary.Customers.Orders/CurrencyAmount.htm">CurrencyAmount</a> <strong>LineTotal</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="Links" class="method">
		<h4>
			<span title="System.Collections.Generic.List<Link_V1>">List&lt;Link_V1&gt;</span> <strong>Links</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="NextBespokeOption" class="method">
		<h4>
			<a href="../Pws.Clients.RestLibrary.Customers.Orders/BespokeOption.htm">BespokeOption</a> <strong>NextBespokeOption</strong> get; set;
		</h4>
		<div class="content">Every time a new order line is posted, always check this property in the returned object.
If Bespoke Options are required for this product, then this property will be non-null, and will encode the next question to ask the user.
Once that has been chosen, post the line back to the order again. Keep repeating this until the NextBespokeOption is unassigned. 

		</div>
	</div>
	<div id="OrderQuantity" class="method">
		<h4>
			<span title="System.decimal">decimal</span> <strong>OrderQuantity</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="PreviousBespokeOptions" class="method">
		<h4>
			<span title="System.Collections.Generic.List<BespokeOption>">List&lt;BespokeOption&gt;</span> <strong>PreviousBespokeOptions</strong> get; set;
		</h4>
		<div class="content">Previous bespoke options which have been selected so far, in configuring this product. 

		</div>
	</div>
	<div id="Price" class="method">
		<h4>
			<a href="../Pws.Clients.RestLibrary.Customers.Orders/ProductPrice.htm">ProductPrice</a> <strong>Price</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="Product" class="method">
		<h4>
			<a href="../Pws.Clients.RestLibrary/Link_V1.htm">Link_V1</a> <strong>Product</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="ProductId" class="method">
		<h4>
			<span title="System.string">string</span> <strong>ProductId</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="ReservedQuantity" class="method">
		<h4>
			<span title="System.decimal">decimal</span> <strong>ReservedQuantity</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="ShortageAvailable" class="method">
		<h4>
			<span title="System.Nullable<DateTime>">Nullable&lt;DateTime&gt;</span> <strong>ShortageAvailable</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="ShortageQuantity" class="method">
		<h4>
			<span title="System.decimal">decimal</span> <strong>ShortageQuantity</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="VatCode" class="method">
		<h4>
			<span title="System.string">string</span> <strong>VatCode</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	<div id="VatRate" class="method">
		<h4>
			<span title="System.decimal">decimal</span> <strong>VatRate</strong> get; set;
		</h4>
		<div class="content">

		</div>
	</div>
	</section>
	</article><footer>
	<span id="version">Built from v1.0.0.0 of Pws.Clients.RestLibrary</span>
	<span id="docu-link">
		Generated by <a href="http://docu.jagregory.com">docu</a>
	</span>
</footer>
  </body>
</html>